package com.health.db.mapper;

import com.health.db.model.GlobalConfig;
import com.health.db.model.GlobalConfigExt;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GlobalConfigMapper {
    int countByExample(GlobalConfigExt example);

    int deleteByExample(GlobalConfigExt example);

    int deleteByPrimaryKey(String code);

    int insert(GlobalConfig record);

    int insertSelective(GlobalConfig record);

    List<GlobalConfig> selectByExample(GlobalConfigExt example);

    GlobalConfig selectByPrimaryKey(String code);

    int updateByExampleSelective(@Param("record") GlobalConfig record, @Param("example") GlobalConfigExt example);

    int updateByExample(@Param("record") GlobalConfig record, @Param("example") GlobalConfigExt example);

    int updateByPrimaryKeySelective(GlobalConfig record);

    int updateByPrimaryKey(GlobalConfig record);
}